package com.furkid.service.domain.pet;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.furkid.service.constant.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Pet extends BaseEntity {
    /** 宠物id */
    private Long id;

    /** 用户id */
    private Long user_id;

    /** 宠物名称 */
    private String name;

    /** 宠物类型 */
    private Integer type;

    /** 宠物类型字符串 */
    private String typeString;

    /** 宠物品种 */
    private Integer breed;

    /** 宠物品种字符串 */
    private String breedString;

    /** 宠物性别 */
    private Integer gender;

    /** 宠物生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /** 领养日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date adoption_date;

    /** 宠物头像 */
    private String avatar;

    /** 性格描述 */
    private String remark;
}
